package edu.xidian.bdilab.jrbigdata.util;

import org.springframework.stereotype.Component;

/**
 * @ClassName ConvertString
 * @Description TODO
 * @Author tuantuan
 * @Date 2019/4/12 下午7:23
 * @Version 1.0
 * @Attention Copyright (C), 2004-2019, BDILab, XiDian University
 **/
@Component
public class ConvertString {
    public Integer StringToInt(String param){
        if (param == ""){
            return null;
        }
        return Integer.parseInt(param);
//        return null;
    }
}
